//
//  Goods.h
//  Store
//
//  Created by liujianlong on 2022/9/23.
//

#import <Foundation/Foundation.h>
#import "Address.h"

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, GoodsOrderStastus) {
    GoodsOrderStastusDefault = 0,
    GoodsOrderStastusFavorite = 1,
    GoodsOrderStastusJoinCart = 2,
    GoodsOrderStastusNoPayed = 3,
    GoodsOrderStastusNoShip = 4,
    GoodsOrderStastusNoReceipt = 5,
    GoodsOrderStastusPayed = 6,
    GoodsOrderStastusAfterSales = 7,
};
@interface Goods : NSObject
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *href;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *SKU;///库存
@property (nonatomic, copy) NSString *brandName;
@property (nonatomic, copy) NSString *mainImage;
@property (nonatomic, copy) NSString *shortDescription;
@property (nonatomic, copy) NSString *longDescription;
@property (nonatomic, copy) NSString *stockStatus;
@property (nonatomic, copy) NSString *URL;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *typeName;
@property (nonatomic, copy) NSString *sortOrder;
@property (nonatomic, copy) NSString *colour;
@property (nonatomic, copy) NSString *productReference;///赞做销量显示

///自定义属性
@property (nonatomic, assign) GoodsOrderStastus orderStatus;
@property (nonatomic, copy) NSString *account;
@property (nonatomic, copy) NSString *payNum;
@property (nonatomic, assign) BOOL select;
@property (nonatomic, strong) Address *address;
@property (nonatomic, copy) NSString *orderID;


//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *name;

@end

NS_ASSUME_NONNULL_END
